package com.zheng.wechat.mp.dao.model;

import java.io.Serializable;

public class WechatMpFeedback implements Serializable {
    /**
     * id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 故障类型
     *
     * @mbg.generated
     */
    private Integer type;

    /**
     * 返回用户Id
     *
     * @mbg.generated
     */
    private Integer gzuserId;

    /**
     * 故障描述
     *
     * @mbg.generated
     */
    private String descripton;

    /**
     * 0未处理，1已处理
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 是否逻辑删除
     *
     * @mbg.generated
     */
    private Integer flag;

    /**
     * 创建人
     *
     * @mbg.generated
     */
    private String cuser;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Long ctime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getGzuserId() {
        return gzuserId;
    }

    public void setGzuserId(Integer gzuserId) {
        this.gzuserId = gzuserId;
    }

    public String getDescripton() {
        return descripton;
    }

    public void setDescripton(String descripton) {
        this.descripton = descripton;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getCuser() {
        return cuser;
    }

    public void setCuser(String cuser) {
        this.cuser = cuser;
    }

    public Long getCtime() {
        return ctime;
    }

    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", type=").append(type);
        sb.append(", gzuserId=").append(gzuserId);
        sb.append(", descripton=").append(descripton);
        sb.append(", status=").append(status);
        sb.append(", flag=").append(flag);
        sb.append(", cuser=").append(cuser);
        sb.append(", ctime=").append(ctime);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WechatMpFeedback other = (WechatMpFeedback) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType()))
            && (this.getGzuserId() == null ? other.getGzuserId() == null : this.getGzuserId().equals(other.getGzuserId()))
            && (this.getDescripton() == null ? other.getDescripton() == null : this.getDescripton().equals(other.getDescripton()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getFlag() == null ? other.getFlag() == null : this.getFlag().equals(other.getFlag()))
            && (this.getCuser() == null ? other.getCuser() == null : this.getCuser().equals(other.getCuser()))
            && (this.getCtime() == null ? other.getCtime() == null : this.getCtime().equals(other.getCtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getType() == null) ? 0 : getType().hashCode());
        result = prime * result + ((getGzuserId() == null) ? 0 : getGzuserId().hashCode());
        result = prime * result + ((getDescripton() == null) ? 0 : getDescripton().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getFlag() == null) ? 0 : getFlag().hashCode());
        result = prime * result + ((getCuser() == null) ? 0 : getCuser().hashCode());
        result = prime * result + ((getCtime() == null) ? 0 : getCtime().hashCode());
        return result;
    }
}